package com.xdf.wxbebarrel.model;

import com.xdf.wxbebarrel.model.templateMessage.MetaData;

import java.util.List;

/**
 * 2021年6月25日 13:37:55
 * 其他微服务调用本后台服务发送模板消息时用到的实体类
 */
public class ExternalTemplateMsg {
    private List<MetaData> metaList;// 填充到模板消息的内容，要求8个元素的字符串数组
    private List<String> openidList;// 推送给的微信 openid ，一次推送给多个用户
    private String templateId; // 模板消息的模板ID

    private static final long serialVersionUID = 1L;

    public List<MetaData> getMetaList() {
        return metaList;
    }

    public void setMetaList(List<MetaData> metaList) {
        this.metaList = metaList;
    }

    public List<String> getOpenidList() {
        return openidList;
    }

    public void setOpenidList(List<String> openidList) {
        this.openidList = openidList;
    }

    public String getTemplateId() {
        return templateId;
    }

    public void setTemplateId(String templateId) {
        this.templateId = templateId;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    @Override
    public String toString() {
        return "ExternalTemplateMsg{" +
                "metaList=" + metaList +
                ", openidList=" + openidList +
                ", templateId='" + templateId + '\'' +
                '}';
    }
}
